This won't be handled by our existing actor destruction path as the
ripple actors are added directly to the stage and not the uiGroup.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2623>
global.stage.add_actor(adoptedActor);
}
+ this._destroyHotCorners();
this.uiGroup.destroy();
});
}
}
+ _destroyHotCorners() {
+ this.hotCorners.forEach(corner => corner?.destroy());
+ this.hotCorners = [];
+ }
+
_updateHotCorners() {
// destroy old hot corners
- this.hotCorners.forEach(corner => {
- if (corner)
- corner.destroy();
- });
- this.hotCorners = [];
+ this._destroyHotCorners();
if (!this._interfaceSettings.get_boolean('enable-hot-corners')) {
this.emit('hot-corners-changed');